package com.thlws.java.proxy.statical;

import com.thlws.java.proxy.HelloInterface;

/**
 * @author HanleyTang
 * @date 2018-12-04
 */
public class HelloProxy implements HelloInterface {

    HelloInterface hello ;

    public HelloProxy(HelloInterface hello) {
        this.hello = hello;
    }

    @Override
    public void say() {

        hello.say();

    }
}
